package com.byit.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.byit.domain.SysAppVersion;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SysAppVersionMapper extends BaseMapper<SysAppVersion> {

    /**
     * 逻辑删除App版本管理信息
     *
     * @param params
     */
    void delSysAppVersionById(Map<String, Object> params);

    /**
     * 查询App管理列表
     *
     * @param pageInfo
     * @param params
     * @return
     */
    List<JSONObject> selectSysAppVersionAll(Page<SysAppVersion> pageInfo, Map<String, Object> params);

    List<JSONObject> selectAppVersionList(Map<String,Object> params);
    List<JSONObject> selectAppLatestVersion(Map<String,Object> params);
}